
<#include "/inc/layout.ftl">

<@layout>

<div class="layui-container fly-marginTop fly-user-main">

    <@centerLeft level=3></@centerLeft>

    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>

    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>


    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="user" id="LAY_msg" style="margin-top: 15px;">
            <button class="layui-btn layui-btn-danger" id="LAY_delallmsg">清空全部消息</button>
            <div  id="LAY_minemsg" style="margin-top: 10px;">
                <!--<div class="fly-none">您暂时没有最新消息</div>-->
                <ul class="mine-msg">
                    <li data-id="123">
                        <blockquote class="layui-elem-quote">
                            <#if pageData.type == 1>
                                <a href="/im-userInfo/message/${pageData.fromUserId}" target="_blank"><cite>${pageData.fromUserName}</cite></a>评论了您的文章<a target="_blank" href="/im-post/post/${pageData.postId}"><cite>${pageData.postTitle}</cite></a>
                            </#if>
                            <#if pageData.type == 2>
                                系统消息：${pageData.content}
                            </#if>
                        </blockquote>
                        <p><span>1小时前</span><a href="javascript:;" class="layui-btn layui-btn-small layui-btn-danger fly-delete">删除</a></p>
                    </li>
                </ul>
            </div>
        </div>
    </div>

</div>

<script>
    layui.cache.page = 'user';
</script>
</@layout>
